#ifndef __WMAIN_H__
#define __WMAIN_H__

#include "common/env.h"
#include "common/bytearrays.h"
#include "common/msgmacro.h"
#include "common/msghandle.h"
#include "common/msgqueue.h"
#include "common/msgclass.h"
#include "common/output.h"
#include "common/section.h"

using namespace WServer;
using namespace WServer::Env;
using namespace WServer::GData;
using namespace WServer::MsgHandle;
using namespace WServer::MsgQueue;
using namespace WServer::Output;
using namespace WServer::Section;

void HandleMessage(struct wmsgdata* msg);

extern void* pdlExt;
extern void (*pExtFun)(struct wmsgdata*);
extern void (*pInitExt)();

#endif //__WMAIN_H__
